Add gdk_window_get_unscaled_size
authorAlexander Larsson <alexl@redhat.com>
Thu, 20 Nov 2014 10:50:11 +0000 (11:50 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 20 Nov 2014 11:38:04 +0000 (12:38 +0100)
commit1eb3b34bcebc11a7a46346f2f35d845e4194cb45
tree2ae6794c651f718628eb68b7dc7a9555d2b7c7e1
parent788478dff9466b6606d61aa977847b7d78077d0f
Add gdk_window_get_unscaled_size

This is required for the X backend GL integration. If the
window has a height that is not a multiple of the window scale
we can't properly do the y coordinate flipping that GL needs.
Other backends can ignore this and use the default implementation.

https://bugzilla.gnome.org/show_bug.cgi?id=739750
gdk/gdkinternals.h
gdk/gdkwindow.c
gdk/gdkwindowimpl.h
gdk/x11/gdkwindow-x11.c